home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- set i to 26
- set z to 3
- repeat while i < 29
- if the mouseCast = i then
- set the visible of sprite z to 1
- else
- if the visible of sprite z = 1 then
- set the visible of sprite z to 0
- end if
- end if
- set i to i + 1
- set z to z + 1
- end repeat
- go(the frame)
- end
-
- on mouseDown
- set i to 26
- set z to 6
- repeat while i < 29
- if the mouseCast = i then
- set the visible of sprite z to 1
- end if
- set i to i + 1
- set z to z + 1
- end repeat
- end
-
- on mouseUp
- global coracao, luva, cacto
- if the visible of sprite 6 = 1 then
- set the visible of sprite 6 to 0
- set the visible of sprite 3 to 0
- set luva to luva + 1
- go(the frame + 1)
- end if
- if the visible of sprite 7 = 1 then
- set the visible of sprite 7 to 0
- set the visible of sprite 4 to 0
- set coracao to coracao + 1
- go(the frame + 1)
- end if
- if the visible of sprite 8 = 1 then
- set the visible of sprite 8 to 0
- set the visible of sprite 5 to 0
- set cacto to cacto + 1
- go(the frame + 1)
- end if
- end
-